package cn.demo.day7;

/**
 * 提供构造器，进行初始化
 * Z型的四格方块的位置
 */

public class Z extends Tetromino {
    public Z() {
        cells[0] = new Cell(1, 4, TetrisGame.Z);// TetrisGame.T是在主类中加载的静态资源
        cells[1] = new Cell(0, 3, TetrisGame.Z);
        cells[2] = new Cell(0, 4, TetrisGame.Z);
        cells[3] = new Cell(1, 5, TetrisGame.Z);
    }
}
